package com.alibaba.cirtus.ots.application.adapter.ability.model.api;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
@Data
public class CommonReq {
    @NotBlank(
            message = "DELIVERY-F-107-00-00-048,来源系统编码"
    )
    @Length(
            message = "DELIVERY-F-107-00-00-049,来源系统编码,50",
            max = 50
    )
    private String fromSys;
    @NotBlank(
            message = "DELIVERY-F-107-00-00-048,业态编码"
    )
    @Length(
            message = "DELIVERY-F-107-00-00-049,业态编码,50",
            max = 50
    )
    private String businessType;
    @NotBlank(
            message = "DELIVERY-F-107-00-00-048,业务单元编码"
    )
    @Length(
            message = "DELIVERY-F-107-00-00-049,业务单元编码,50",
            max = 50
    )
    private String businessUnitCode;

}
